Jurik Moving Average Crossover Strategy [ChuckBanger]The classic moving average crossover strategy does not work well in markets that, instead of trending, tend to frequently reverse within a trading range. The lag between the actual time the market has reversed direction and when the moving average is signalling a trade, the trend is already over and the market is about to go against your position. In this environment, a more appropriate trading strategy is suggested here using an JMA Keltner Channel.
The idea is to create a channel based of support and resistance. When the market breaks out of the channel, and fails to maintain momentum. It is likely the price will fall back toward the center of the channel. This tendency can be exploited in the following manner.
In the chart above, The aqua and maroon (center line) and the blue lines are part of a channel. The middle line is a slow running JMA of the closing prices, with Length = 30 and phase = 0. The upper blue band is constructed by adding 1.5 times of 30-bar ATR (average true range) to the center JMA line and the lower blue band by deducting the same amount. There is a grey line running through the data- That is a fast running JMA with length = 5 and phase = 100 representing the price.
The red dots indicate that the the price is going back in the channel and the market is retracting from a failed upward breakout, and the green dots mark when price is retracting from a failed downward breakout. These are places where one might want to enter the trade. The orange dots indicate where price crosses the center line, a reasonable place to take profit from or even exit the trade.
The center line also shows the up or down movements if the setting is ticked. This feature is useful to use when exit a trade. For example, you enter a long position on a green dot signal and the color is maroon. You can wait for 3-5 candles (depending of markets). And if the color doesn’t change it can be an indication that the price is going lower. Here it is possible to switch to a short possible or the opposite apply if you enter on a red dot.
The parameter use in this study is for demonstrating purposes only. This is to show how you can use JMA. Do not trade with real money without thoroughly test the strategy. And always use stop-losses.
Komut dosyalarını "stop loss" için ara
ATR + Trailing StopsSimple visualisation of Average True Range in Pinescript V4.
The script has two modes: Running and Trailing.
In Running mode, it continuously displays the ATR above and below the price. Specifically, it displays the High and Low price plus and minus the ATR times a user-supplied multiplier. This can be helpful for visualising volatility.
In Trailing mode, it displays the same ATR line, except the line trails until price crosses it. When price crosses it, it flips from long to short or vice-versa.
You could use trailing ATR as a stop loss. Adjust the multiplier and lookback period for your asset and preference.
Triangular Moving Average (TMA) bandsWhat in the world is up folks ??!??
Here's the indicator of the day. Sharing a simple one today because I'm busy coding for a few clients (fun life of a top script author on TradingView)
The TMA bands is an indicator that I discovered on FXCM a few years ago FXCM TMA bands
From the screenshot above, we see that when the price hits the lower band, it's a possible reverse BUY signal. When it hits the upper band, it's a possible SELL signal
Methodology
1) The Take Profit 1 is the middle line, Take Profit 2 is the opposite band.
2) Once the TP1 is hit, set your Stop Loss to breakeven
3) Once the TP2 is hit, if you still want to stay in the trade, set your Stop Loss to the TP1
That's what we call a trailing stop loss which I offered in the Trade Manager : Trade-Manager-Open-Source-Version/
It will be a powerful tool in your arsenal for some scalp/intraday trades
After years of coding for traders, I worked with many brokers/API/languages so I'm very used to convert a script from a broker to another one (shameless self-advertising)
PS
Tomorrow I'll share the Signal version of my Algorithm Builder:
You'll be able to connect it in a single click to a very cool Backtest System made by the Pinescripters community
In other words, I'm selling the scripts to allow you to build your own signals in a few clicks AND to connect it easily to a kick-ass backtesting tool. More to come tomorrow
Hope you'll like it, like me, love it, love me, tip me :)
____________________________________________________________
Feel free to hit the thumbs up as it shows me that I'm not doing this for nothing and will motivate to deliver more quality content in the future. (Meaning... a few likes only = no indicators = Dave enjoying the beach)
- I'm an officially approved PineEditor/LUA/MT4 approved mentor on codementor. You can request a coaching with me if you want and I'll teach you how to build kick-ass indicators and strategies
Jump on a 1 to 1 coaching with me
- You can also hire for a custom dev of your indicator/strategy/bot/chrome extension/python
™TradeChartist Fib Extensions™TradeChartist Fib Extensions is a free to use script that helps traders plot Fibonacci Extensions on chart. Even though Trading View has a Fib extensions tool, some traders may prefer a plotting script like this with Fib plot lines extending across the whole of the chart to track historic prices in relation to Fib extensions drawn.
----To draw Fib extensions for uptrend ,
1. Choose a Pivot Low point (LL or a HL) as Pivot 1
2. Choose a Pivot High point (must be higher than Pivot 1) as Pivot 2
3. Choose a Pivot Low point (must be lower than Pivot 2, must be Higher than Pivot 1)
----To draw Fib extensions for downtrend,
1. Choose a Pivot High point (HH or a LH) as Pivot 1
2. Choose a Pivot Low point (must be lower than Pivot 1) as Pivot 2
3. Choose a Pivot High point (must be higher than Pivot 2 and lower than Pivot 1)
Negative extensions of -23.6% and -61.8% fib plots may be useful for some to spot reversals or to set stop losses.
Higher levels can be used if price goes beyond 161.8%
This is a free to use indicator. Give a thumbs up or leave a comment if you like the script
Check my 'Scripts' page to see other published scripts. Get in touch with me if you would like access to my invite-only scripts for a trial before deciding on a paid access for a period of your choice. Half-Yearly, Annual and Lifetime access available on invite-only scripts along with 1hr Team Viewer intro session.
Trade Manager (Open-Source & Non-Standalone Version)Happy Friday everyone
TGIF !!!!!! The weekend for me means no script publishing and enjoying the sun
As a weekday vampire, I'll go out and try to survive the sunlight or I'll prepare the indicators to share for next week. Not sure at this point....
This week, I shared a Trade Manager Trade-Manager-Open-Source-Version/ that you need to get connected to your indicator
Some traders asked if I could give away an alternative version meaning they'll have their own indicator separately and once they'll get their signal, they'll add the Trade Manager to manage their take profits and stop losses. (I'm working for Tradingview charity apparently ^^)
I liked the idea a lot !!! I like it even more that this idea came from followera that I don't even know
How does it work ?
Basically, chose any indicator you want. Once you get your signal/alert, get in the trade with your broker, and add the Trade Manager (Non-Standalone Version) (note the Non-Standalone Version) <=
This is realy important !!
So this was defintively the Trade Manager week... I feel I shared one alternative of that tool a day. (might get banned for copy/pasting myself too much)
Not sure of how I managed it anyway but now let's summarize what you have in your trading toolkit so far :
- Trade Manager to be used DIRECTLY with another indicator : Trade-Manager-Open-Source-Version/
- Trade Manager to be used INDIRECTLY with another indicator : the one I'm sharing right now
- Risk/Reward & PnL & Errors management tool : Risk-Reward-InfoPanel/
If you want to build your own signals in a few clicks only, feel free to share my Algorithm/Strategy builder Strategy-Builder-Crypto-Single-Trend-Plots/
I made it so that you guys can build you own custom signals and then why not, plugging them to the Trade Manager and to the Risk/Reward indicators..... That's now that you're supposed to connect the dots and realizing that all indicators shared this week are deeply linked and powerful when well used together :-)
Wishing y'all a great weekend and see you Monday, well rested and fresh for a new set of indicators
_____________________________________________________________
Feel free to hit the thumbs up as it shows me that I'm not doing this for nothing and will motivate to deliver more quality content in the future. (Meaning... a few likes only = no indicators = Dave enjoying the beach)
Two good news happened this week for me
1) I'm an offically approved PineEditor/LUA/MT4 approved mentor on codementor. You can request a coaching with me if you want and I'll teach you how to build kick-ass indicators and strategies
Jump on a 1 to 1 coaching with me
2) I'm a top author Pine script :)
changes-to-script-publishing-on-tradingview-13462
Parabolic SARThis is a redesign of the built-in Parabolic SAR indicator. I added a proper input system, an option to highlight initial points for both lines and an option to choose points width. So, customize it as you want.
Parabolic SAR was originally developed by J. Welles Wilder and described in his book "New Concepts in Technical Trading Systems" (1978). It is a trend-following indicator that can be used as a trailing stop loss.
To know which settings for PSAR are the most profitable on your instrument and timeframe you can use this tool
Profitable Parabolic SAR
ATR SL Visualization (on chart)This indicator plots 2 sets of dots (and lines) based on your chosen ATR multiplier (Average True Range).
Generally, when trading on the daily timeframe a good rule of thumb is to use the ATR * 1.5 (the default setting of this indicator).
I created this indicator to quickly test other indicators but I also find it helpful in live trading.
How to use this indicator:
Your trade system provides an entry signal. The red dot (can be connected line in options) would be used as the stop loss for either a long or short.
Then the dot on the other side would be your first 1:1 target.
The blue line is the same ATR multiplier as a target (default but can be modified).
Using an additional tool like the horizontal ray can be helpful to see the exact location the SL might be hit or where the target might hit.
When drawing your ray ensure you’re using the right entry candle.
For instance, in a long scenario you would typically be entering a trade after your signal candle closes. So draw the ray at the point in price on the next candle for both stop loss and target.
Also use these dots (lines) as guides provides an easy way to plot SL and targets if you want to use the Long or Short tool.
For my trade systems I don’t use price targets (I exit when structure or indicators reveal to exit) but I do find it helpful to graph when testing. When something moves in my favor either the ATR or the ATR * 1.5 I take profit and typically move up my stop loss to break even or trailing.
The other strategy that could be possible but have not tested is as long as the SL is making a new high moving up a hard stop to the ATR SL each day the trade goes in your favor.
This should be obvious but if you want to use just the true ATR edit the multiplier to be 1.0
Parkinson Historical VolatilityFirst off, a huge thank you to the following people:
theheirophant: www.tradingview.com
alexgrover: www.tradingview.com
NGBaltic: www.tradingview.com
The Parkinson Historical Volatility (PHV), developed in 1980 by the physicist Michael Parkinson, aims to estimate the volatility of returns for a random walk using the high and low in any particular period. An important use of the PHV is the assessment of the distribution prices during the day as well as a better understanding of the market dynamics. Comparing the PHV and a periodically sampled volatility helps traders understand the tendency towards mean reversion in the market as well as the distribution of stop-losses.
This script allows you to transform the volatility reading. The intention of this is to be able to compare volatility across different assets and timeframes. Having a relative reading of volatility also allows you to better gauge volatility within the context of current market conditions.
For the signal lie I chose a repulsion moving average to remove choppy crossovers of the estimator and the signal. This may have been a mistake, so in the near-future I might update so that the MA can be selected. Let me know if you have any opinions either way.
References
www.rdocumentation.org
www.ivolatility.com
Want to Learn?
If you'd like the opportunity to learn Pine but you have difficulty finding resources to guide you, take a look at this rudimentary list: docs.google.com
The list will be updated in the future as more people share the resources that have helped, or continue to help, them. Follow me on Twitter to keep up-to-date with the growing list of resources.
Suggestions or Questions?
Don't even kinda hesitate to forward them to me. My (metaphorical) door is always open.
ATR Trailing Stop Bands [R] This is based on the Average True Range Trailing Stops Strategy by Sylvain Vervoort, coded on TV HPotter. I have added Bands to see potential short and long stop loss zones before the indicator signals to switch itself, also changed color on the main Trailing Stop based on whether it is short or long, added increased stop loss hunt protection by combining with my Wickiness indicator to add Wick Protection, based on either Average or Maximum Wicks, to prevent your stop getting wicked out. Experiment with different timeframes according to your trading style and how long you like to hold a trade. This indicator does not intend to tell you when to take profit, just how to place your stop to give you the best chance of not getting stopped out too early and to minimise risk by trailing it safely.
May you all never be stop hunted again.
Donchian Channel with Range AdditionA Donchian Channel with additional zones at places where its range is smaller than a set amount of atr. Thus it kind of combines with Keltner Channel qualities. Purpose is to set a stop loss wide enough to avoid shaking out of a position. The example chart shows a Philips day chart, where I opened position on 16 juli at 37,50 and set the stop loss at low border level 35,60, on 23 juli was an earnings rapport, the wick of the candle shows that quotes went very low, obviously smart traders had to fill a huge order and hunted for stops, triggering my stop closing the position. next days quotes went a lot better, so I missed the fun. The Donchian Channel was too narrow because quotes had ranged in the previous weeks. If I had placed my stop on the additional low, setting it 5 atr below the high border, my stop would have been safe.
CoryT's Noro's Ichimoku AlertsA few months ago I took Noro's Ichimoku Cloud and used the AV bot template to throw stops on it. I took some code from JustUncleL
to make it not so hideous. Trailing Stops are turned off, stop losses are turned off (you really don't need them with this), and this is currently a Long/Short strategy, the Longs Only and Shorts Only options are broken right now, I'm tired and you guys can either fix it yourselves or deal with it like this for now.
Hint: If you wanna use this as a long-only strategy just have AV close your buy orders whenever a short is triggered.
Customizable trailing Stop For Manual EntriesHere's how to create a trailing stop with a manual buy order, on an exchange that does not support native trailing stops. Code can easily be copy+pasted into your normal algos.
To set the entry price for your manual trade, specify the bar time when the trade was made. Note that the time you specify needs to correspond to an opening time on your chart--if it's a 3 hour chart, 6 pm or 9 pm will work, but 8 PM will not. It's not as bad as it sounds though, read on :)
Per usual I keep multiple options open.
Special features in this script:
Change time frame for trailing
Specify trailing parameter (high, close, hlc3, etc.)
Change time frame for stop loss trigger (use a shorter time frame for earlier exits!)
Specify trigger parameter (close, low, hlc3, etc.)
Remember that annoying issue where you might not be able to precisely specify entry price, because you want to use 3 hour closing prices for your trailing stop but you bought in at 7:41 pm? Add this indicator to a 1 minute chart and set your start time to 19:41, then set the trailing time frame to 3 hours!
Next stop is v2, where we take profits along the way before stop loss gets triggered.
[NM] Reversal Candles v01Reversal candles are a very easy way to identify a turn in trend, this indicator has some specific additional conditions for the reversal candle.
BUY Signal reversal candle
Low of current candle exceeds low of previous candle
Low of current candle is lowest for last 7 candles
High of current candle exceeds high of previous candle
Close of current candle is in the upper 50% of the range of this candle
SELL Signal reversal candle
High of current candle exceeds high of previous candle
High of current candle is Highest for last 7 candles
Low of current candle exceeds low of previous candle
Close of current candle is in the lower 50% of the range of this candle
How do I trade it ? (example buy signal)
Wait for close of the candle and the BUY signal
Put a buy stop entry 5 pips above the high of the candle
Put a stop loss 5 pips below the low of the candle
Calculate difference between entry and stop loss and set your target that number of pips above the entry for a 1:1 RR trade*
Wait for your your target or stop loss to be triggered
* Alternatively, you can take 50% of the profit at the 1st (1:1 RR) profit target, move your stop to break even and let the rest of the position run for a higher potential profit.
Further advice on use
Personally I always look for some additional confirmation like a support or resistance level, a bounce of the EMA or a fibonacci level, but please feel free to add additional filters to make the strategy even more effective. I would strongly advise to backtest your strategy first so you can fine tune it and have confidence in trading it. Forward testing on a demo account before going live, although it takes longer, can be a worthy alternative. Works better on higher time frames.
How do you use it ?
Please leave a note in the comment section below to let me know if you use the indicator and how. There's definitely not just one way to use the indicator so I'm curious about your feedback.
To apply the script to your chart, just add it to your favourites so you can easily find it in the Indicators list.
Kindly leave me a thumbs up if you like this indicator or support my work, and do not hesitate to visit my other indicators. Thanks for your visit
The Kyber Cell's – TTM Squeeze ProThe Kyber Cell’s TTM Squeeze Pro
TTM Squeeze + ALMA + VWAP for Precision Trade Timing
⸻
1. Introduction
Kyber Cell’s Squeeze Pro is a comprehensive, all-in-one overlay indicator built on top of John Carter’s famous TTM Squeeze concept. It integrates advanced momentum and trend analysis using Arnaud Legoux Moving Averages (ALMA), a scroll-aware VWAP with optional deviation bands, and a clean, user-friendly visual system. The goal is simple: give traders a clear and configurable chart that identifies price compression, detects release moments, confirms direction, and helps manage risk and reward visually and effectively.
This tool is intended for traders of all styles — scalpers, swing traders, or intraday strategists — looking for cleaner signals, better visual cues, and more confidence in entry/exit timing.
⸻
2. Core Concepts
At its heart, the Squeeze Pro builds an in-chart visualization of the TTM Squeeze, a strategy that identifies when price volatility compresses inside a Bollinger Band that is narrower than a Keltner Channel. These moments often precede explosive breakouts. This version categorizes squeezes into three levels of compression:
• Blue Dot – Low Compression
• Orange Dot – Medium Compression
• Red Dot – High Compression
When the squeeze “fires” (i.e., the Bollinger Bands expand beyond all Keltner thresholds), the indicator flips to a Green Dot, signaling potential entry if confirmed by trend direction.
The indicator also includes a momentum model using linear regression on smoothed price deviation to determine directional bias. Momentum is further reinforced by a customizable trend engine, allowing you to switch between EMA-21 or HMA 34/144 logic.
An ALMA ribbon is plotted across the chart to represent smoothed trend strength with minimal lag, and a scroll-aware VWAP (Volume-Weighted Average Price) line, optionally with ±σ bands, helps confirm mean-reversion or momentum continuation setups.
⸻
3. Visual Components
Squeeze Pro replaces the traditional histogram with bar coloring logic based on your selected overlay mode:
• Momentum Mode colors bars based on whether momentum is rising or falling and in which direction (aqua/blue for bullish, red/yellow for bearish).
• Trend Mode colors bars using EMA or HMA logic to identify whether price is in a bullish, bearish, or neutral trend state.
A colored backdrop is triggered when a squeeze fires and momentum direction is confirmed. It remains green for bullish runs and red for bearish runs. The background disappears when the trend exhausts or reverses.
Each squeeze level (low, medium, high) is plotted as tiny dots above or below candles, with configurable colors. On the exact bar where the squeeze fires, the indicator optionally plots entry markers — either arrows or triangles — which can be placed with adjustable padding using ATR. These provide an at-a-glance signal of possible long or short entries.
EXPERIMENTAL : For risk and reward management, protective stop lines and limit targets can be toggled on. Stops are calculated using either recent swing highs/lows or a fixed ATR multiple, depending on user preference. Limit targets are calculated from entry price using ATR-based projections.
All colors are customizable.
⸻
4. Multi-Timeframe Squeeze Panel
An optional MTF Squeeze Panel appears in the top-right corner of the chart, displaying the squeeze status across multiple timeframes — from 1-minute to Monthly. Each timeframe is color-coded:
• Red for High Compression
• Orange for Medium Compression
• Blue for Low Compression
• Yellow for Open/No Compression
This provides rapid context for whether multiple timeframes are simultaneously compressing (a common precursor to explosive moves), helping traders align higher- and lower-timeframe signals. Colors are customizable.
The MTF panel dynamically adjusts to chart space and only renders the selected intervals for clarity and performance.
⸻
5. Inputs and Configuration Options
Squeeze Pro offers a rich configuration suite:
• Squeeze Settings: Control the Bollinger Band standard deviation, and three separate Keltner Channel multipliers (for low, medium, and high compression zones).
• ALMA Controls: Adjust the smoothing length, offset, and σ factor to control ribbon sensitivity.
• VWAP Options: Toggle VWAP on/off and optionally show ±σ bands for mean reversion signals.
• Entry Markers: Customize marker shape (arrow or triangle), size (tiny to huge), color, and padding using ATR multipliers.
• Stops and Targets:
• Choose between Swing High/Low or ATR-based stop logic.
• Define separate ATR lengths and multipliers for stops and targets.
• Independently toggle their visibility and color.
• Bar Coloring Mode: Select either Momentum or Trend logic for bar overlays.
• Trend Engine: Choose between EMA-21 or HMA 34/144 for identifying trend direction.
• Squeeze Dot Colors: Customize the colors for each compression level and release state.
• MTF Panel: Toggle visibility per timeframe — from 1m to Monthly.
This high degree of customization ensures that the indicator can adapt to nearly any trading style or preference.
⸻
6. Trade Workflow Suggestions
To get the most out of this tool, traders can follow a consistent workflow:
1. Watch Dot Progression: Blue → Orange → Red indicates increasing compression and likelihood of breakout.
2. Enter on Green Dot: When the squeeze fires (green dot), confirm entry direction with bar color and backdrop.
3. Use Confirmation Tools:
• ALMA should slope in the trade direction.
• VWAP should support the price move or confirm expansion away from mean.
4. Manage Risk and Reward (experimental):
• Respect stop-loss placements (Swing/ATR).
• Use ATR-based limit targets if enabled.
5. Exit:
• Consider exiting when momentum crosses zero.
• Or exit when the background color disappears, signaling potential trend exhaustion.
⸻
7. Alerts
Includes built-in alert conditions to notify you when a squeeze fires in either direction:
• “Squeeze Long”: Triggers when a green dot appears and momentum is bullish.
• “Squeeze Short”: Triggers when a green dot appears and momentum is bearish.
You can use these alerts for automation or to stay notified of new setups even when away from the screen.
⸻
8. Disclaimer
This indicator is designed for educational purposes only and should not be interpreted as financial advice. Trading is inherently risky, and any decisions based on this tool should be made with full awareness of personal risk tolerance and capital exposure.
Average Daily Range in TicksPurpose: The ADR Ticks Indicator calculates and displays the average daily price range of a financial instrument, expressed in ticks, over a user-specified number of days. It provides traders with a measure of average daily volatility, which can be used for position sizing, setting stop-loss/take-profit levels, or assessing market activity.
Calculation: Computes the average daily range by taking the difference between the daily high and low prices, averaging this range over a customizable number of days, and converting the result into ticks (using the instrument's minimum tick size).
Customization: Includes a user input to adjust the number of days for the average calculation and a toggle to show/hide the ADR Ticks value in the table.
Risk Management: Helps traders estimate typical daily price movement to set appropriate stop-loss or take-profit levels.
Market Analysis: Offers insight into average daily volatility, useful for day traders or swing traders assessing whether a market is trending or ranging.
Technical Notes:
The indicator uses barstate.islast to update the table only on the last bar, reducing computational load and preventing overlap.
The script handles different chart timeframes by pulling daily data via request.security, making it robust across various instruments and timeframes.
GreenyyP Leverage Vortex v6Function Summary of “GreenyyP Leverage Vortex v6”
General Settings
Input fields for long and short base prices
Configurable leverage factor
Adjustable line length and label offset
Toggles for chart labels and scale display
Separate switch to show/hide base-price lines
Individually Toggleable Levels
Each level can be turned on or off independently under the Long/Short groups:
L1, L2, L3 (percentage deviations from the entry price)
TP (Take Profit)
SL (Stop Loss)
Automatic Stop-Loss Correction
SL percentages are processed with math.abs()
Ensures SL lines always plot below (for Long) or above (for Short) the base price regardless of input sign
Drawing Logic
All lines and labels redraw every 10 bars to keep the chart clean
Previous labels are deleted before drawing new ones
Lines are drawn with a width of 2 for clear visibility
Base-Price Lines & Labeling
Optional solid lines for Long and Short base prices
White price labels for each base line
Percentage or short text labels (e.g. “L1: 5%”, “TP: 20%”, “SL: 5%”) with configurable transparency
With these features, you get fully customizable level-plotting, automatic SL handling, and clear visual cues directly on your chart.
LANZ Strategy 6.0🔷 LANZ Strategy 6.0 — One-Shot NY Candle Logic with Dynamic SL/TP, Multi-Account Lot Sizing and Visual Confirmation System
LANZ Strategy 6.0 is a high-precision, visually driven indicator that executes a single operation per day based on the 09:00 a.m. New York candle. Built for simplicity and accuracy, it calculates dynamic Stop Loss and Take Profit levels using the candle range, and adapts position sizing per account with pip-accurate risk control. All actions are visualized in real-time for full clarity.
📌 This is an indicator, not a strategy — It does not place trades automatically, but provides exact entry setups, SL/TP levels, risk-based lot size guidance, and optional alerts.
🧠 Core Logic & Features
🚀 Entry Signal (BUY Only)
A BUY setup is triggered only once per day, when:
The current candle is the 09:00–10:00 a.m. NY session candle
The candle is bullish (close > open)
This single candle is used to define the trade levels for the day, and the signal is only evaluated once. If bullish, a visual "BUY" label appears with SL/TP/EP levels calculated from the candle body or full range.
⚙️ Stop Loss and Take Profit
You can configure:
SL as a percentage of the candle’s range (from wick to wick), or use the wick extreme
RR ratio (e.g., 1:4) to dynamically calculate the TP based on SL
Each level is drawn as a line:
EP (Entry Price) at the candle’s close
SL below the low (or % of range)
TP above the entry at the selected RR
💰 Risk-Based Lot Size Calculation per Account
Manage up to 5 independent accounts simultaneously. Each account can have:
Its own capital
Its own risk percentage per trade
Lot size is calculated automatically for each based on:
Defined SL in pips
The pip value (auto-detected for Forex or manually defined for indices/gold)
📋 All lot sizes are displayed in a dedicated info panel, with their corresponding risk-adjusted values per account.
🖼️ Trade Visualization Panel
When a trade is active, a clean table is displayed in the top-right corner showing:
TP / SL / EP levels
Distance in pips for SL and TP
Lot size per account
Line visuals (style, color, thickness) are fully customizable.
🧪 Outcome Tracking (Real-Time Labels)
For each trade:
If SL is hit → a label shows “–1.00%” at the SL level
If TP is hit → a label shows “+X.XX%” at the TP level
If still open at 3:00 p.m. NY, the trade closes manually and the actual result (in %) is calculated and labeled on chart
🔔 Alerts You Can Trust
You'll get an alert when:
A BUY entry is confirmed
SL or TP is hit
Manual close is triggered at 15:00 NY
All alerts include the symbol, price, and result for immediate action or tracking.
🧭 Execution Flow Summary
Every day:
At 09:00 a.m. NY → Evaluate candle
If bullish:
Set EP, SL, TP
Calculate lot sizes
Plot lines + labels
Display dashboard panel
Monitor SL/TP hits
At 15:00 NY → Force close if needed
💡 Ideal For:
Traders who want a clean, single-shot entry system per day
Index or gold traders who operate with strict SL/TP logic
Anyone managing multiple accounts or fixed-capital models
Visual learners and disciplined execution fans
👨💻 Credits:
💡 Developed by: LANZ
🧠 Execution Model & Logic Design: LANZ
📅 Designed for: 1H timeframe, high-conviction NY-based entries
📈 Purpose: Clean decision-making, precision risk control, visual certainty
Quantum Dip Hunter | AlphaNattQuantum Dip Hunter | AlphaNatt
🎯 Overview
The Quantum Dip Hunter is an advanced technical indicator designed to identify high-probability buying opportunities when price temporarily dips below dynamic support levels. Unlike simple oversold indicators, this system uses a sophisticated quality scoring algorithm to filter out low-quality dips and highlight only the best entry points.
"Buy the dip" - but only the right dips. Not all dips are created equal.
⚡ Key Features
5 Detection Methods: Choose from Dynamic, Fibonacci, Volatility, Volume Profile, or Hybrid modes
Quality Scoring System: Each dip is scored from 0-100% based on multiple factors
Smart Filtering: Only signals above your quality threshold are displayed
Visual Effects: Glow, Pulse, and Wave animations for the support line
Risk Management: Automatic stop-loss and take-profit calculations
Real-time Statistics: Live dashboard showing current market conditions
📊 How It Works
The indicator calculates a dynamic support line using your selected method
When price dips below this line, it evaluates the dip quality
Quality score is calculated based on: trend alignment (30%), volume (20%), RSI (20%), momentum (15%), and dip depth (15%)
If the score exceeds your minimum threshold, a buy signal arrow appears
Stop-loss and take-profit levels are automatically calculated and displayed
🚀 Detection Methods Explained
Dynamic Support
Adapts to recent price action
Best for: Trending markets
Uses ATR-adjusted lowest points
Fibonacci Support
Based on 61.8% and 78.6% retracement levels
Best for: Pullbacks in strong trends
Automatically switches between fib levels
Volatility Support
Uses Bollinger Band methodology
Best for: Range-bound markets
Adapts to changing volatility
Volume Profile Support
Finds high-volume price levels
Best for: Identifying institutional support
Updates dynamically as volume accumulates
Hybrid Mode
Combines all methods for maximum accuracy
Best for: All market conditions
Takes the most conservative support level
⚙️ Key Settings
Dip Detection Engine
Detection Method: Choose your preferred support calculation
Sensitivity: Higher = more sensitive to price movements (0.5-3.0)
Lookback Period: How far back to analyze (20-200 bars)
Dip Depth %: Minimum dip size to consider (0.5-10%)
Quality Filters
Trend Filter: Only buy dips in uptrends when enabled
Minimum Dip Score: Quality threshold for signals (0-100%)
Trend Strength: Required trend score when filter is on
📈 Trading Strategies
Conservative Approach
Use Dynamic method with Trend Filter ON
Set minimum score to 80%
Risk:Reward ratio of 2:1 or higher
Best for: Swing trading
Aggressive Approach
Use Hybrid method with Trend Filter OFF
Set minimum score to 60%
Risk:Reward ratio of 1:1
Best for: Day trading
Scalping Setup
Use Volatility method
Set sensitivity to 2.0+
Focus on Target 1 only
Best for: Quick trades
🎨 Visual Customization
Color Themes:
Neon: Bright cyan/magenta for dark backgrounds
Ocean: Cool blues and teals
Solar: Warm yellows and oranges
Matrix: Classic green terminal look
Gradient: Smooth color transitions
Line Styles:
Solid: Clean, simple line
Glow: Adds depth with glow effect
Pulse: Animated breathing effect
Wave: Oscillating wave pattern
💡 Pro Tips
Start with the Trend Filter ON to avoid catching falling knives
Higher quality scores (80%+) have better win rates but fewer signals
Use Volume Profile method near major support/resistance levels
Combine with your favorite momentum indicator for confirmation
The pulse animation can help draw attention to key levels
⚠️ Important Notes
This indicator identifies potential entries, not guaranteed profits
Always use proper risk management
Works best on liquid instruments with good volume
Backtest your settings before live trading
Not financial advice - use at your own risk
📊 Statistics Panel
The live statistics panel shows:
Current detection method
Support level value
Trend direction
Distance from support
Current signal status
🤝 Support
Created by AlphaNatt
For questions or suggestions, please comment below!
Happy dip hunting! 🎯
Not financial advice, always do your own research
ATR Trailing Stop with ATR Targets [v6]What the Indicator Does
This custom TradingView indicator is designed for active traders who want to automate and visualize their trailing stop management and target setting, using true market volatility. It combines the Average True Range (ATR) with dynamic market structure logic to:
Trail a stop-loss behind major swings in real time, using 2×ATR (adjustable) from the highest high in uptrends or the lowest low in downtrends.
Flip trading bias between bullish and bearish when the stop is breached.
Identify and plot three profit targets (at 1, 2, and 3 ATR from the breakout/flip point) after every stop-flip, helping traders scale out or set take-profits objectively.
Maintain a visible presence on your chart every bar to avoid indicator errors, with color and labeling for clear distinction between long/short phases.
How the Indicator Works
1. ATR Calculation
ATR Period and Multiplier: You select your preferred ATR length (default is 14 bars) and a multiplier (default is 2.0).
Volatility Adjustment: ATR measures the average "true" bar range, so the trailing stop and targets adapt to current volatility.
2. Trailing Stop Logic
Uptrend (bullish bias): The indicator tracks the highest high made since the last bearish-to-bullish flip and sets the stop at - .
The stop only raises (never lowers) during an uptrend, protecting gains in strong moves.
Downtrend (bearish bias): Tracks the lowest low made since the last bullish-to-bearish flip, with stop at + .
The stop only lowers (never raises) in a downtrend.
Flip Point: If price closes through the trailing stop, the current bias “flips,” and the logic reverses (bullish to bearish or vice versa). At the new close, flip price and bar index are stored for target calculation.
3. ATR Targets after Flip
After each stop flip:
Three targets—based on the new close price—are calculated and plotted:
Long flip (new bull bias): Target1 = close + 1×ATR, Target2 = close + 2×ATR, Target3 = close + 3×ATR.
Short flip (new bear bias): Target1 = close - 1×ATR, Target2 = close - 2×ATR, Target3 = close - 3×ATR.
These targets help with scaling out, partial profit-taking, or setting automated orders.
4. Visual Feedback
Trailing stop line: Green for long bias, red for short bias.
Targets: Distinct color-coded circles at 1, 2, 3 ATR levels from the most recent flip.
Flip Labels: Mark the bar and price where bias flipped (“Long Flip” or “Short Flip”) for quick pattern recognition.
Subtle background shading: Ensures TradingView's requirement for “indicator output every bar.”
How to Use This Indicator
Parameter Setup
ATR Period and Multiplier: Adjust to match the timeframe and volatility of your instrument.
Lower periods/multipliers for short-term/volatile trading.
Higher values for smoother signals or higher timeframes.
Starting Trend: Set to match the expected initial bias if the instrument has strong trend characteristics.
Trading Application
1. Daily Bias Approach
Establish your bias in line with your trading plan (e.g., only trade long if price is above the previous day's high, short below the previous day's low).
Only look for trades in the indicator's current bias direction, as expressed by the stop and background color.
2. Entry
Use the indicator as a real-time confirmation or trailing stop for your entries.
Breakout: Enter when price establishes the current bias, using the trailing stop as your risk level.
Reversal: Wait for a bias flip after an extended move; enter in the direction of the new bias.
VWAP Rebound: Combine with a VWAP bounce—enter only if the indicator bias supports your direction.
3. Exits/Targets
Trailing stop management: Move your stop according to the plotted line; exit if your stop is hit.
Profit-taking: Scale out or take profits as price approaches each ATR-based target.
Use the dynamic labeling to identify reversal flips and reset your plan if stopped or the bias changes.
4. Market Context
Filter and frame setups by watching correlated indicators (DXY, VIX, AUDJPY, put/call ratio) and upcoming news; trade only in the daily bias direction for best consistency.
5. Practical Tips
Combine this indicator with your custom watchlist and alert settings to get notified on flips or targets.
Review the last label ("Long Flip"/"Short Flip") and targets to plan partial exits.
Remember: ATR adapts to volatility, so the stop and targets stay proportionate even when price action shifts.
Expansion Triangle [TradingFinder] MegaPhone Broadening🔵 Introduction
The Expanding Triangle, also known as the Broadening Formation, is one of the key technical analysis patterns that clearly reflects growing market volatility, increasing indecision among participants, and the potential for sharp price explosions.
This pattern is typically defined by a sequence of higher highs and lower lows, forming within two diverging trendlines. Unlike traditional triangles that converge to a breakout point, the expanding triangle pattern becomes wider over time, leaving no precise apex for a breakout to occur.
From a price action perspective, the pattern represents a prolonged tug-of-war between buyers and sellers, where neither side has taken control yet. Each aggressive swing opens the door to new opportunities whether it's a trend reversal, range trading, or a momentum breakout. This dual nature makes the pattern highly versatile across market conditions, from exhausted trend ends to volatile consolidation zones.
The custom-built indicator for this pattern uses a combination of smart algorithms and detailed analysis of swing dynamics to automatically detect expanding triangles and highlight low-risk entry points.
Traders can use this tool to capitalize on high-probability setups from shorting near the upper edge of the structure with confirmation, to trading bearish breakouts during trend continuations, or entering long positions near the lower boundary during bullish reversals. The chart examples included in this article demonstrate these three highly practical trading scenarios in live market conditions.
A major advantage of this indicator lies in its structural filtering engine, which analyzes the behavior of each price leg in the triangle. With four adjustable filter levels from Very Aggressive, which highlights all potential patterns, to Very Defensive, which only triggers when price actually touches the triangle's trendlines the indicator ensures that only structurally sound and verified setups appear on the chart, reducing noise and false signals significantly.
Long Setup :
Short Setup :
🔵 How to Use
The pattern typically forms in conditions of heightened uncertainty and volatility, where price swings generate a series of higher highs and lower lows. The expanding triangle consists of three key legs bounded by diverging trendlines. The indicator intelligently analyzes each leg's direction and angle to determine whether a valid pattern is forming.
At the core of the indicator’s logic is its leg filtering system, which controls the quality of the pattern and filters out weak or noisy setups. Four structural filter modes are available to suit different trading styles and risk preferences. In Very Aggressive mode, filters are disabled, and the indicator detects any pattern purely based on the sequence of swing points.
This mode is ideal for traders who want to see everything and apply their own discretion.
In Aggressive mode, the indicator checks whether each new leg extends no more than twice the length of the previous one. If a leg overshoots excessively, the structure is invalidated.
In Defensive mode, the filter enforces a minimum movement requirement each leg must move at least 2% of the previous one. This prevents the formation of shallow, weak patterns that visually resemble triangles but lack substance.
The strictest setting, Very Defensive, combines all previous filters and additionally requires the price to physically touch the triangle’s trendlines before issuing a signal. This ensures that setups only appear when real market interaction with key structural levels has occurred, not based on assumptions or geometry alone. This mode is ideal for traders seeking maximum precision and minimal risk.
🟣 Bullish Setup
A bullish setup within the Expanding Triangle pattern occurs when price revisits the lower support boundary after a series of broad swings typically near the third leg of the formation. This area often represents a shift in momentum, where sellers begin to lose strength and buyers prepare to take control.
Ideally, the setup is accompanied by a bullish reversal candle (e.g. doji, pin bar, or engulfing) near the lower trendline. If the Very Defensive filter is active, the indicator will only issue a signal if price makes a confirmed touch on the trendline and reacts from that level. This significantly improves signal accuracy and filters out premature entries.
After confirmation, traders may choose to enter a long position on the bullish candle or shortly afterward. A logical stop-loss is placed just below the recent swing low within the pattern. The target can be set at or near the upper trendline, or projected using the full height of the triangle added to the breakout point. On higher timeframes, this reversal often marks the beginning of a strong uptrend.
🟣 Bearish Setup
A bearish setup forms when price climbs toward the upper resistance trendline, usually as the third leg completes. This is where buyers often begin to show exhaustion, and sellers step in with strength providing an ideal low-risk entry point for short positions.
As with the bullish setup, if the Candle Confirmation filter is enabled, the indicator will only show a signal when a bearish reversal candle forms at the point of contact. If Defensive or Very Defensive filters are also active, the setup must meet strict criteria of proportionate leg movement and an actual trendline touch to qualify.
Once confirmed, traders can enter on the reversal candle, placing a stop-loss slightly above the recent high. The target can be set at the lower trendline or calculated based on the triangle's full height, projected downward. This setup is particularly useful at the end of weak bullish trends or in volatile market tops.
🔵 Settings
🟣 Logic Settings
Pivot Period : Defines how many bars are analyzed to identify swing highs and lows. Higher values detect larger, slower structures, while lower values respond to faster patterns. The default value of 13 offers a balanced sensitivity.
Pattern Filter :
Very Aggressive : Detects all patterns based on point sequence with no structural checks.
Aggressive : Ensures each leg is no more than 2x the size of the previous one.
Defensive : Requires each leg to be at least 2% the size of the previous leg.
Very Defensive : The strictest level; only confirms patterns when price touches trendlines.
Candle Confirmation : When enabled, the indicator requires a valid confirmation candle (doji, pin bar, engulfing) at the interaction point with the trendline before issuing a signal. This reduces false entries and improves entry precision.
🟣 Alert Settings
Alert : Enables alerts for SSS.
Message Frequency : Determines the frequency of alerts. Options include 'All' (every function call), 'Once Per Bar' (first call within the bar), and 'Once Per Bar Close' (final script execution of the real-time bar). Default is 'Once per Bar'.
Show Alert Time by Time Zone : Configures the time zone for alert messages. Default is 'UTC'.
🔵 Conclusion
The Expanding Triangle pattern, with its wide structure and volatility-driven nature, represents chaos but also opportunity. For traders who can read its behavior, it provides some of the most powerful setups for reversals, breakouts, and range-based trades. While the pattern may seem messy at first glance, it is built on clear logic and when properly detected, it offers high-probability opportunities.
This indicator doesn’t just draw expanding triangles it intelligently evaluates their structural quality, validates price interaction through candle confirmation, and allows the trader to fine-tune the detection logic through adjustable filter levels. Whether you’re a reversal trader looking for a turning point, or a breakout trader hunting momentum, this tool adapts to your strategy.
In volatile or uncertain markets, where fakeouts and sudden shifts are common, this indicator can become a cornerstone of your trading system helping you turn volatility into structured, high-quality opportunities.
Apex Edge - VantageApex Edge – Vantage
Quarter-Wick Reversal System | Price Action Based | Non-Repainting | Visual Confirmation Tool
Overview:
Apex Edge – Vantage is a precision price action indicator built to assist traders in identifying high-probability reversal entries — not based on indicators, but on how candles behave at their extremes.
This tool implements a clean, repeatable framework that reflects how I personally trade:
Spot a candle that closes with strong directional intent,
Then wait for a controlled pullback into the outer quarter,
And strike — only if price respects that line.
There’s no magic here — just raw, tactical logic visualized clearly on your chart. It's not designed to predict the market — it's built to respond when price offers you Vantage.
Core Logic:
Dot Detection – Final Quarter Close Candles
A green dot prints below a bullish candle if it closes within the top 25% of its wick-to-wick range.
A red dot prints above a bearish candle if it closes within the bottom 25% of its range.
These dots signify candles that made a strong, deliberate move in one direction — where price was pushed to an extreme and held that extreme into the close. These candles often signal institutional intent or momentum imbalance.
Entry Confirmation – Controlled Wick Rebalance
On the very next candle only, price must wick into the prior dot candle's outer quarter — but must not pass beyond it.
For buy entries, the wick must enter the bottom 25% of the previous green dot candle, but not dip below it.
For sell entries, the wick must reach into the top 25% of the red dot candle, but not exceed it.
This wick into the quarter is seen as a controlled rebalancing — a tactical reaction back into the origin zone before potential continuation.
Arrow Printing – Visual Entry Signal
Once the entry criteria are confirmed, an arrow is printed after the candle closes.
This arrow continues to print on each new candle as long as price does not violate the original entry zone — giving visual confirmation that the trade thesis is still valid.
If price breaks above/below the quarter range, the arrow disappears.
This ongoing confirmation is useful for staying in trades, managing risk, or spotting failed setups early.
Automatic Stop Loss Level
A horizontal Stop Loss line is drawn from the extreme wick of the original dot candle.
For buy entries, SL is placed below the green dot candle's low.
For sell entries, SL is placed above the red dot candle's high.
This provides immediate risk context — perfect for traders using limit orders or looking to scale in.
Coding Logic:
This script uses plotshape() and plot() functions for all visual elements.
Dot candles are identified using quarter-range logic via:
pinescript
Copy
Edit
close >= high - (high - low) * 0.25 // for bullish
close <= low + (high - low) * 0.25 // for bearish
Entry validation logic triggers only on the next candle, using:
pinescript
Copy
Edit
low >= quarterLine and low <= high // for buy entries
high <= quarterLine and high >= low // for sell entries
Arrows and SL lines are plotted only on closed candles, ensuring non-repainting behavior.
alertcondition() is used for real-time alerts on valid buy/sell triggers.
How I Personally Use It:
I wait for a dot to print — this shows directional conviction.
On the next candle, I watch for a tap into the outer quarter.
If the wick meets the criteria and the candle closes, I’ll execute manually at the close of that candle.
As long as the arrow remains on the chart, I know the setup hasn’t been invalidated.
I combine this with market structure, session timing, and liquidity context to build confluence around each trade.
Alerts Included:
Buy Entry Alert: When a green arrow prints (entry confirmed)
Sell Entry Alert: When a red arrow prints (entry confirmed)
These fire once per confirmed signal, allowing you to react in real-time or automate if desired.
Who This Is For:
Manual traders who want clean price-based entries
Anyone who uses market structure, SMC, or liquidity concepts
Traders looking to replace indicators with pure candle logic
Discretionary or semi-systematic traders who want visual tools to guide their decisions
Final Word
Apex Edge – Vantage doesn’t predict price — it shows you where price is offering you control.
This is a surgical tool designed to help you act only when the market gives you a measurable edge — and to stay in the trade as long as that edge holds.
If you're ready to stop chasing trades and start striking from a position of Vantage, then this tool belongs on your chart.
Liquidity Swings [Nix]Liquidity Swings Indicator!
It marks recent swing highs and lows on the chart using lines and labels.
Another great feature is that it tracks whether those swing levels are SWEPT (price crosses them again) and either:
Removes swept levels, or
Fades them to indicate they’ve been taken.
You can customize:
Number of swings shown.
Colors, styles, and visibility of lines/labels.
Whether to show highs, lows, or both.
Useful for liquidity analysis.
Usually when these special swings are swept, you can consider moving stops to BE. This is because there should be enough stop losses at the swing points to liquidate others and give more fuel to your trade direction!
Multi-Timeframe Trend Analysis [Aaron Diaz]🧠 Indicator Review: Multi-Timeframe Trend Analysis
📌 What Does It Do?
The "Multi-Timeframe Trend Analysis" indicator by Aaron Diaz performs a trend assessment across multiple timeframes using Exponential Moving Averages (EMAs) as internal logic. Instead of plotting EMAs on the chart, this version only displays a clean dashboard that shows whether each EMA is trending up or down, keeping your chart clutter-free.
🧾 Based on the original indicator by BigBeluga, this version was modified by Aaron Diaz to remove the EMA plots and focus solely on actionable trend information via a table.
🔍 How It Works
It calculates 5 different EMAs (default: 20, 30, 40, 50, 60 periods).
For each EMA, it checks if it’s trending up (EMA > EMA 2 candles ago) or down.
These signals are then evaluated across 5 customizable timeframes (e.g., 1h, 2h, 3h, etc.).
A dashboard/table appears on the top-right corner of your screen, showing:
🢁 = Uptrend for that EMA and timeframe.
🢃 = Downtrend.
It uses color codes (green = bullish, purple = bearish) to make trend reading fast and intuitive.
🧱 Technical Foundations
Exponential Moving Averages (EMAs):
EMAs give more weight to recent prices, making them highly responsive to current trends.
Widely used to detect momentum and reversals.
Multi-Timeframe Analysis (MTF):
Helps confirm trend strength by analyzing multiple timeframes.
Reduces false signals and noise found in a single timeframe.
📈 Suggested Strategy: "MTF Trend Confluence"
🎯 Goal:
Only trade when multiple timeframes confirm the same directional bias.
✅ Long Entry Rules:
At least 3 out of 5 timeframes must show 🢁 on at least 4 of the 5 EMAs.
Confirm entry with:
A bullish candlestick pattern.
A breakout above recent resistance.
Optional filter: RSI or MACD not in overbought zone.
🔻 Short Entry Rules:
At least 3 timeframes must show 🢃 on at least 4 EMAs.
Confirm with:
A bearish candle or breakdown below support.
Optional filter: RSI or MACD not in oversold zone.
🛑 Exit Rules:
Take Profit at key support/resistance levels or at a 2:1 risk-reward ratio.
Stop Loss below/above the last swing or fixed % (e.g., 1.5–2%).
Exit early if the dashboard shows a shift in trend across key timeframes.
🧪 Example Use Case
You're trading on a 15-minute chart:
The dashboard shows 🢁 across 1h, 2h, and 3h timeframes for EMA20, EMA30, and EMA40.
Price breaks a local resistance level.
You enter long and target the next liquidity zone, placing your stop-loss below the most recent swing low.
⚠️ Important Notes
This is not a signal generator—it’s a trend confirmation tool.
Best used for swing or intraday trend trading.
Avoid using it in ranging or sideways markets.